package com.dhcc.DRGsHosp.web.controller;

import org.openkoala.koala.commons.InvokeResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhcc.DRGsHosp.facade.OperInfoFacade;


/**
 * @title		:OperInfoController.java
 * @description	:安贞手术信息获取类
 * @author		:WangTeng
 * @date		:2016年5月25日
 * @version     :1.0
 * @copyright   :DHCC 2013-2016
*/
@Controller("drgsHospWebController31")
@RequestMapping("/OperInfo")
public class OperInfoController {

	@Autowired
	private OperInfoFacade operInfoFacade;
	
	@ResponseBody
	@RequestMapping(value = "importOperInfoByDate")
	public InvokeResult importOperInfoByDate(String dateFrom,String dateTo){
		return operInfoFacade.importOperInfoByDate(dateFrom, dateTo);
	}
	
	@ResponseBody
	@RequestMapping(value = "importKPIInfoByDate")
	public InvokeResult importKPIInfoByDate(String dateFrom,String dateTo){
		return operInfoFacade.importKPIInfoByDate(dateFrom, dateTo);
	}
	
}
